#ifndef VIEW_PANEL_H
#define VIEW_PANEL_H

#include <QWidget>
#include <QtGui>


class ViewPanel : public QWidget {
	Q_OBJECT

    public:
        ViewPanel(QWidget * = 0);
        ~ViewPanel();

    signals:
        void objectViewTypeChanged(unsigned int);
        void octreeViewTypeChanged(unsigned int);

    public slots:
        void enableOctree(bool);

    private slots:
        void viewObjectRadioToggled(bool);
        void wireframeObjectRadioToggled(bool);
        void fillOctreeRadioToggled(bool);
        void wireframeOctreeRadioToggled(bool);
        void viewOctreeBorderCheckBoxChecked(bool);
        void onlyOctreeMode(bool);

    private:
        QRadioButton *viewObjectRadio;
        QGroupBox *objectGroupBox;
        QGroupBox *octreeGroupBox;

//        unsigned int objectViewType, octreeViewType;
};

#endif
